package com.yang.ossservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author yds
 * @program edu
 * @description 作为阿里云oss存储服务
 * @create 2020-11-26 14:32
 **/
//忽略数据库自动配置错误
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = {"com.yang"})
@EnableSwagger2 //开启swagger
public class OssSpringApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssSpringApplication.class,args);
    }
}
